home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / source.exe / POSIX / SH / STD / H / STRING.H < prev    next >
C/C++ Source or Header  |  1992-07-13  |  1KB  |  39 lines

  1. /* ANSI string handling (missing wide char stuff) */
  2.  
  3. #if ! _STRING_H
  4. #define _STRING_H 1
  5.  
  6. #include <stddef.h>        /* define NULL and size_t */
  7.  
  8. #if __STDC__
  9. #define    ARGS(args)    args
  10. #define    Void    void
  11. #else
  12. #define    ARGS(args)    ()
  13. #define    Void    char
  14. #endif
  15.  
  16. Void   *memcpy ARGS((Void *s1, const Void *s2, size_t));
  17. Void   *memmove ARGS((Void *s1, const Void *s2, size_t));
  18. int    memcmp ARGS((const Void *s1, const Void *s2, size_t));
  19. Void   *memchr ARGS((const Void *s, int c, size_t));
  20. Void   *memset ARGS((Void *s, int c, size_t));
  21. size_t    strlen ARGS((const char *s));
  22. char   *strcpy ARGS((char *s1, const char *s2));
  23. char   *strncpy ARGS((char *s1, const char *s2, size_t));
  24. char   *strcat ARGS((char *s1, const char *s2));
  25. char   *strncat ARGS((char *s1, const char *s2, size_t));
  26. int    strcmp ARGS((const char *s1, const char *s2));
  27. int    strncmp ARGS((const char *s1, const char *s2, size_t));
  28. char   *strchr ARGS((const char *s1, int c));
  29. char   *strrchr ARGS((const char *s1, int c));
  30. size_t    strspn ARGS((const char *s1, const char *s2));
  31. size_t    strcspn ARGS((const char *s1, const char *s2));
  32. char   *strpbrk ARGS((const char *s1, const char *s2));
  33. char   *strstr ARGS((const char *s1, const char *s2));
  34. char   *strtok ARGS((char *s1, const char *s2));
  35. char   *strerror ARGS((int errno));
  36.  
  37. #endif /* _STRING_H */
  38.  
  39.